package game.buff;

/**
 * 物理攻击力百分比加成 BUFF
 */
class AttackScaleBuff extends Buff {
	/**
	 * 请填写百分比浮点数，例如1.1=10%加成
	 */
	public var value:Float = 1;

	override function onInit() {
		super.onInit();
		this.role.data.attackScale *= this.value;
	}

	override function onClean() {
		super.onClean();
		this.role.data.attackScale /= this.value;
	}
}
